/*
 * Copyright 2020-8-27 Baheal
 * @(#)Configuration.java
 */
package com.byyy.ccts.core.message.rocketmq.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author liyongbo
 * @version 1.0
 * @date 2020-8-27 15:51
 * @description： RocketMQ配置类
 */
@Component
public class Configuration {

    public static String TAG_MESSAGE = "messageTag";
    public static String TAG_BACK_WMS_ZCD = "backWmsZcd";

    @Value("${namesrvAddr}")
    private String namesrvAddr;

    @Value("${consumerGroup}")
    private String consumerGroup;

    @Value("${topic}")
    private String topic;

    @Value("${instanceName}")
    private String instanceName;

    @Value("${producerGroup}")
    private String producerGroup;

    public String getNamesrvAddr() {
        return namesrvAddr;
    }

    public String getConsumerGroup() {
        return consumerGroup;
    }

    public String getTopic() {
        return topic;
    }

    public String getInstanceName() {
        return instanceName;
    }

    public String getProducerGroup() {
        return producerGroup;
    }
}
